Part Number Hot Search : 
LS3250 74HC175 EVB90109 MF513450 CBB22 C1608 TDA920 ADUM22
Product Description
Full Text Search
 

To Download SC16C852SV Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1. general description the SC16C852SV is a 1.8 v, low power dual channel universal asynchronous receiver and transmitter (uart) used for serial data communications. its principal function is to convert parallel data into serial data and vice versa. the uart can handle serial data rates up to 20 mbit/s (4 sampling rate). SC16C852SV can be programmed to operate in extended mode where additional advanced uart features are available (see section 6.2 ). the SC16C852SV family uart provides enhanced uart functions with 128-byte fifos, modem control interface and irda encoder/decoder. on-board status registers provide the user with error indications and operational status. system interrupts and modem control features may be tailored by software to meet speci?c user requirements. an internal loopback capability allows on-board diagnostics. independent programmable baud rate generators are provided to select transmit and receive baud rates. the SC16C852SV with intel xscale processor vlio interface operates at 1.8 v and is available in the tfbga36 package. 2. features n dual channel high performance uart n 1.8 v operation n advanced package: tfbga36 n up to 20 mbit/s data rate (4 sampling) at 1.8 v n programmable sampling rate: 16 , 8 , 4 n 128-byte transmit fifo to reduce the bandwidth requirement of the external cpu n 128-byte receive fifo with error ?ags to reduce the bandwidth requirement of the external cpu n 128 programmable receive and transmit fifo interrupt trigger levels n 128 receive and transmit fifo reporting levels (level counters) n automatic software (xon/xoff) and hardware ( r ts/ cts or dtr/ dsr) ?ow control n programmable xon/xoff characters n 128 programmable hardware and software trigger levels n automatic 9-bit mode (rs-485) address detection n automatic rs-485 driver turn-around with programmable delay n dual channel concurrent write n uart software reset n high resolution clock prescaler, from 0 to 15 with granularity of 1 16 to allow non-standard uart clock to be used SC16C852SV 1.8 v dual uart, 20 mbit/s (max.) with 128-byte fifos, infrared (irda), and xscale vlio bus interface rev. 01 23 september 2008 product data sheet www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 2 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface n industrial temperature range ( - 40 c to +85 c) n software compatible with industry standard sc16c652b n software selectable baud rate generator n supports irda version 1.0 (up to 115.2 kbit/s) n standard modem interface or infrared irda encoder/decoder interface n enhanced sleep mode and low power feature n modem control functions ( cts, r ts, dsr, dtr, ri, cd) n independent transmitter and receiver enable/disable n pb-free, rohs compliant package offered 3. ordering information table 1. ordering information type number package name description version SC16C852SViet tfbga36 plastic thin ?ne-pitch ball grid array package; 36 balls; body 3.5 3.5 0.8 mm sot912-1 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 3 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 4. block diagram fig 1. block diagram of SC16C852SV txa, txb rxa, rxb SC16C852SViet xtal2 xtal1 ad0 to ad7 002aad601 data b u s and control logic register select logic cs interrupt control logic inta, intb clock and baud rate generator interconnect bus lines and control signals modem control logic dtra, dtrb rtsa, rtsb ctsa, ctsb ria, rib cda, cdb dsra, dsrb receive shift register receive fifo register flow control logic flow control logic transmit shift register transmit fifo register ir decoder ir encoder ior iow reset lla power down control lowpwr www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 4 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 5. pinning information 5.1 pinning 5.2 pin description fig 2. pin con?guration for tfbga36 fig 3. tfbga36 ball mapping (transparent top view) 002aad603 SC16C852SViet transparent top view f e d c a b 246 135 ball a1 index area ad4 ad2 ad0 ria dsra ctsa 123456 ad5 ad3 ad1 cda reset dtrb a b ad7 rxb ad6 v dd dtra rtsa c rxa xtal1 v ss inta intb d txb cs iow dsrb rtsb lla e lowpwr xtal2 ior rib ctsb f 002aac352 txa cdb table 2. pin description symbol pin type description ad0 a3 i/o address and data bus (bidirectional). these pins are the 8-bit multiplexed data bus and address bus for transferring information to or from the controlling cpu. ad0 is the least signi?cant bit and is address a0 during the address cycle, and ad7 is the most signi?cant bit and is address a7 during the address cycle. ad1 b3 ad2 a2 ad3 b2 ad4 a1 ad5 b1 ad6 c3 ad7 c1 cd ab4i carrier detect (active low). these inputs are associated with individual uart channels a through b. a logic 0 on this pin indicates that a carrier has been detected by the modem for that channel. cdb f3 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 5 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface cs e2 i chip select (active low). this pin enables the data transfers between the host and the SC16C852SV for the addressed channel. individual channel selection is done with address a6. when a6 is 0 channel a is selected, and when a6 is 1 channel b is selected. ctsa a6 i clear to send (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on the cts pin indicates the modem or data set is ready to accept transmit data from the SC16C852SV. status can be tested by reading msr[4]. ctsb f6 dsra a5 i data set ready (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem or data set is powered-on and is ready for data exchange with the uart. status can be tested by reading msr[5]. dsrb e4 dtra c5 o data terminal ready (active low). these outputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates that the SC16C852SV is powered-on and ready. this pin can be controlled via the modem control register. writing a logic 1 to mcr[0] will set the dtr output to logic 0, enabling the modem. this pin will be a logic 1 after writing a logic 0 to mcr[0], or after a reset. dtrb b6 inta d5 o channel a interrupt output. the output state is de?ned by the user through the software setting of mcr[3]. inta is set to the active mode when mcr[3] is set to a logic 1. inta is set to the 3-state mode when mcr[3] is set to a logic 0. see t ab le 19 . intb d6 o channel b interrupt output. the output state is de?ned by the user through the software setting of mcr[3]. intb is set to the active mode when mcr[3] is set to a logic 1. intb is set to the 3-state mode when mcr[3] is set to a logic 0. see t ab le 19 . ior f4 i read strobe (active low). a high to low transition on this signal starts the read cycle. the SC16C852SV reads a byte from the internal register and puts the byte on the data bus for the host to retrieve. io we3i write strobe (active low). a high to low transition on this signal starts the write cycle, and a low to high transition transfers the data on the data bus to the internal register. lla e6 i latch lower address (active low). a logic low on this pin puts the vlio interface in the address phase of the transaction, where the lower 8 bits of the vlio (specifying the uart register and the channel address) are loaded into the address latch of the device through the ad7 to ad0 bus. a logic high puts the vlio interface in the data phase where data can are transferred between the host and the uart. lowpwr f1 i low power. when asserted (active high), the device immediately goes into low power mode. the oscillator is shut-off and some host interface pins are isolated from the hosts bus to reduce power consumption. the device only returns to normal mode when the lowpwr pin is de-asserted. on the negative edge of a de-asserting lowpwr signal, the device is automatically reset and all registers return to their default reset states. this pin has an internal pull-down resistor, therefore, it can be left unconnected. table 2. pin description continued symbol pin type description www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 6 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface reset b5 i master reset (active low). a reset pulse will reset the internal registers and all the outputs. the SC16C852SV transmitter outputs and receiver inputs will be disabled during reset time. (see section 7.24 SC16C852SV e xter nal reset condition and softw are reset for initialization details.) ria a4 i ring indicator (active low). these inputs are associated with individual uart channels, a through b. a logic 0 on this pin indicates the modem has received a ringing signal from the telephone line. a logic 1 transition on this input pin will generate an interrupt. rib f5 r tsa c6 o request to send (active low). these outputs are associated with individual uart channels, a through b. a logic 0 on the r ts pin indicates the transmitter has data ready and waiting to send. writing a logic 1 in the modem control register mcr[1] will set this pin to a logic 0, indicating data is available. after a reset this pin will be set to a logic 1. r tsb e5 rxa d1 i receive data a, b. these inputs are associated with individual serial channel data to the SC16C852SV receive input circuits, a through b. the rx signal will be a logic 1 during reset, idle (no data), or when not receiving data. during the local loopback mode, the rx input pin is disabled and tx data is connected to the uart rx input, internally. rxb c2 txa d2 o transmit data a, b. these outputs are associated with individual serial transmit channel data from the SC16C852SV. the tx signal will be a logic 1 during reset, idle (no data), or when the transmitter is disabled. during the local loopback mode, the tx output pin is disabled and tx data is internally connected to the uart rx input. txb e1 v dd c4 i power supply input. v ss d4 i signal and power ground. xtal1 d3 i crystal or external clock input. functions as a crystal input or as an external clock input. a crystal can be connected between this pin and xtal2 to form an internal oscillator circuit. alternatively, an external clock can be connected to this pin to provide custom data rates (see section 6.9 prog r ammab le baud r ate gener ator ). see figure 5 . xtal2 f2 o output of the crystal oscillator or buffered clock. (see also xtal1.) crystal oscillator output or buffered clock output. should be left open if an external clock is connected to xtal1. table 2. pin description continued symbol pin type description www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 7 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6. functional description the SC16C852SV provides serial asynchronous receive data synchronization, parallel-to-serial and serial-to-parallel data conversions for both the transmitter and receiver sections. these functions are necessary for converting the serial data stream into parallel data that is required with digital data systems. synchronization for the serial data stream is accomplished by adding start and stop bits to the transmit data to form a data character (character orientated protocol). data integrity is ensured by attaching a parity bit to the data character. the parity bit is checked by the receiver for any transmission bit errors. the electronic circuitry to provide all these functions is fairly complex, especially when manufactured on a single integrated silicon chip. the SC16C852SV represents such an integration with greatly enhanced features. the SC16C852SV is fabricated with an advanced cmos process. the SC16C852SV is an upward solution to the sc16c652b with a vlio interface that provides a dual uart capability with 128 bytes of transmit and receive fifo memory, instead of 32 bytes for the sc16c652b. the SC16C852SV is designed to work with high speed modems and shared network environments that require fast data processing time. increased performance is realized in the SC16C852SV by the transmit and receive fifos. this allows the external processor to handle more networking tasks within a given time. in addition, the four selectable receive and transmit fifo trigger interrupt levels are provided in normal mode, or 128 programmable levels are provided in extended mode for maximum data throughput performance especially when operating in a multi-channel environment (see section 6.2 extended mode (128-b yte fifo) ). the fifo memory greatly reduces the bandwidth requirement of the external controlling cpu, and increases performance. a low power pin (lowpwr) is provided to further reduce power consumption by isolating the host interface bus. the SC16C852SV is capable of operation up to 20 mbit/s with an external 80 mhz clock. with a 24 mhz crystal it is capable of operation up to 6 mbit/s. the rich feature set of the SC16C852SV is available through internal registers. these features are: selectable and programmable receive and transmit fifo trigger levels, selectable tx and rx baud rates, and modem interface controls (all standard features). following a power-on reset an external reset or a software reset, the SC16C852SV is software compatible with the previous generation sc16c652b. 6.1 uart a-b functions the uart provides the user with the capability to bidirectionally transfer information between a cpu and an external serial device. the cs pin together with addresses a6 and a7 determine which channel of the uart is being accessed; see t ab le 3 . table 3. serial port selection h = high-level; l = low-level; x = dont care. chip select function cs = h, a7 = x, a6 = x none cs = l, a7 = l, a6 = l uart channel a cs = l, a7 = l, a6 = h uart channel b cs = l, a7 = l, a6 = x device not selected www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 8 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.2 extended mode (128-byte fifo) the device is in the extended mode when any of these four registers contains any value other than 0: flwcnth, flwcntl, txintlvl, rxintlvl. 6.3 internal registers the SC16C852SV provides two sets of internal registers (a and b) consisting of 25 registers each for monitoring and controlling the functions of each channel of the uart. these registers are shown in t ab le 4 . table 4. internal registers decoding a3 a2 a1 read mode write mode general register set (thr/rhr, ier/isr, mcr/msr, fcr, lsr, spr) [1] 0 0 0 receive holding register transmit holding register 0 0 1 interrupt enable register interrupt enable register 0 1 0 interrupt status register fifo control register 0 1 1 line control register line control register 1 0 0 modem control register modem control register 1 0 1 line status register extra feature control register (efcr) 1 1 0 modem status register n/a 1 1 1 scratchpad register scratchpad register baud rate register set (dll/dlm) [2] 0 0 0 lsb of divisor latch lsb of divisor latch 0 0 1 msb of divisor latch msb of divisor latch second special register set (txlvlcnt/rxlvlcnt) [3] 011tr ansmit fifo level count n/a 1 0 0 receive fifo level count n/a enhanced register set (efr, xon1/xon2, xoff1/xoff2) [4] 0 1 0 enhanced feature register enhanced feature register 1 0 0 xon1 word xon1 word 1 0 1 xon2 word xon2 word 1 1 0 xoff1 word xoff1 word 1 1 1 xoff2 word xoff2 word first extra feature register set (txintlvl/rxintlvl, flwcnth/flwcntl) [5] 010tr ansmit fifo interrupt level transmit fifo interrupt level 1 0 0 receive fifo interrupt level receive fifo interrupt level 1 1 0 flow control count high flow control count high 1 1 1 flow control count low flow control count low second extra feature register set (clkpres, sampr, rs485time, afcr2, afcr1) [6] 0 1 0 clock prescaler clock prescaler 0 1 1 sampling rate sampling rate 1 0 0 rs-485 turn-around timer rs-485 turn-around timer 1 1 0 additional feature control register 2 additional feature control register 2 1 1 1 additional feature control register 1 additional feature control register 1 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 9 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface [1] these registers are accessible only when lcr[7] is a logic 0. [2] these registers are accessible only when lcr[7] is a logic 1. [3] second special register are accessible only when efcr[0] = 1. [4] enhanced feature registers are only accessible when lcr = 0xbf. [5] first extra feature registers are only accessible when efcr[2:1] = 01b. [6] second extra feature registers are only accessible when efcr[2:1] = 10b. 6.4 fifo operation 6.4.1 32-byte fifo mode when all four of these registers (txintlvl, rxintlvl, flwcnth, flwcntl) in the first extra register set are empty (0x00) the transmit and receive trigger levels are set by fcr[7:4]. in this mode the transmit and receive trigger levels are backward compatible to the sc16c652b (see t ab le 5 ), and the fifo sizes are 32 entries. the transmit and receive data fifos are enabled by the fifo control register bit 0 (fcr[0]). it should be noted that the user can set the transmit trigger levels by writing to the fcr, but activation will not take place until efr[4] is set to a logic 1. the receiver fifo section includes a time-out function to ensure data is delivered to the external cpu (see section 6.8 ). please refer to t ab le 10 and t ab le 11 for the setting of fcr[7:4]. 6.4.2 128-byte fifo mode when either txintlvl, rxintlvl, flwcnth or flwcntl in the first extra register set contains any value other than 0x00, the transmit and receive trigger levels are set by txintlvl and rxintlvl registers. txintlvl sets the trigger levels for the transmit fifo, and the transmit trigger levels can be set to any value between 1 and 128 with granularity of 1. rxintlvl sets the trigger levels for the receive fifo, the receive trigger levels can be set to any value between 1 and 128 with granularity of 1. when the effective fifo size changes (that is, when fcr[0] toggles or when the combined content of txintlvl, rxintlvl, flwcnth and flwcntl changes between equal and unequal to 0x00), both rx fifo and tx fifo will be reset (data in the fifo will be lost). 6.5 hardware ?ow control when automatic hardware ?ow control is enabled, the SC16C852SV monitors the ctsx pin for a remote buffer over?ow indication and controls the r tsx pin for local buffer over?ows. automatic hardware ?ow control is selected by setting efr[6] (rts) and efr[7] (cts) to a logic 1. if ctsx transitions from a logic 0 to a logic 1 indicating a ?ow control request, isr[5] will be set to a logic 1 (if enabled via ier[7:6]), and the table 5. interrupt trigger level and flow control mechanism (fcr[7:6, 5:4]) inta/intb pin activation negate r tsa/ r tsb or send xoff assert r tsa/ r tsb or send xon rx tx [00, 00] 8 16 8 0 [01, 01] 16 8 16 7 [10, 10] 24 24 24 15 [11, 11] 28 30 28 23 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 10 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface SC16C852SV will suspend tx transmissions as soon as the stop bit of the character in process is shifted out. transmission is resumed after the ctsx input returns to a logic 0, indicating more data may be sent. when afcr1[2] is set to 1, then the function of ctsx pin is mapped to the dsrx pin, and the function of r ts is mapped to dtrx pin. dsrx and dtrx pins will behave as described above for ctsx and r tsx. with the automatic hardware ?ow control function enabled, an interrupt is generated when the receive fifo reaches the programmed trigger level. the r tsx (or dtrx) pin will not be forced to a logic 1 (rts off) until the receive fifo reaches the next trigger level. however, the r tsx (or dtrx) pin will return to a logic 0 after the receive buffer (fifo) is unloaded to the next trigger level below the programmed trigger level. under the above described conditions, the SC16C852SV will continue to accept data until the receive fifo is full. when txintlvl, rxintlvl, flwcnth and flwcntl in the first extra register set are all zeroes, the hardware and software ?ow control trigger levels are set by fcr[7:4]; see t ab le 5 . when either txintlvl, rxintlvl, flwcnth or flwcntl in the first extra register set contains any value other than 0x00, the hardware and software ?ow control trigger levels are set by flwcnth and flwcntl. the content in flwcnth determines how many bytes are in the receive fifo before r tsx (or dtrx) is de-asserted or xoff is sent. the content of flwcntl determines how many bytes are in the receive fifo before r tsx (or dtrx) is asserted, or xon is sent. in 128-byte fifo mode, hardware and software ?ow control trigger levels can be set to any value between 1 and 128 in granularity of 1. the value of flwcnth should always be greater than flwcntl. the uart does not check for this condition automatically, and if this condition is not met spurious operation of the device might occur. when using flwcnth and fwlcntl, these registers must be initialized to the proper values before hardware or software ?ow control is enabled via the efr register. 6.6 software ?ow control when software ?ow control is enabled, the SC16C852SV compares one or two sequentially received data characters with the programmed xon or xoff character value(s). if the received character(s) match the programmed xoff values, the SC16C852SV will halt transmission (tx) as soon as the current character(s) has completed transmission. when a match occurs, isr bit 4 will be set (if enabled via ier[5]) and the interrupt output pin (if receive interrupt is enabled) will be activated. following a suspension due to a match of the xoff characters values, the SC16C852SV will monitor the receive data stream for a match to the xon1/xon2 character value(s). if a match is found, the SC16C852SV will resume operation and clear the ?ags (isr[4]). reset initially sets the contents of the xon/xoff 8-bit ?ow control registers to a logic 0. following reset, the user can write any xon/xoff value desired for software ?ow control. different conditions can be set to detect xon/xoff characters and suspend/resume transmissions (see t ab le 24 ). when double 8-bit xon/xoff characters are selected, the SC16C852SV compares two consecutive receive characters with two software ?ow control 8-bit values (xon1, xon2, xoff1, xoff2) and controls tx transmissions accordingly. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 11 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface under the above described ?ow control mechanisms, ?ow control characters are not placed (stacked) in the receive fifo. when using software ?ow control, the xon/xoff characters cannot be used for data transfer. in the event that the receive buffer is over?lling, the SC16C852SV automatically sends an xoff character (when enabled) via the serial tx output to the remote uart. the SC16C852SV sends the xoff1/xoff2 characters as soon as the number of received data in the receive fifo passes the programmed trigger level. to clear this condition, the SC16C852SV will transmit the programmed xon1/xon2 characters as soon as the number of characters in the receive fifo drops below the programmed trigger level. 6.7 special character detect a special character detect feature is provided to detect an 8-bit character when efr[5] is set. when an 8-bit character is detected, it will be placed on the user-accessible data stack along with normal incoming rxa/rxb data. this condition is selected in conjunction with efr[3:0] (see t ab le 24 ). note that software ?ow control should be turned off when using this special mode by setting efr[3:0] to all zeroes. the SC16C852SV compares each incoming receive character with xoff2 data. if a match occurs, the received data will be transferred to the fifo, and isr[4] will be set to indicate detection of a special character. although t ab le 7 SC16C852SV inter nal registers shows xon-1, xon-2, xoff-1, xoff-2 with eight bits of character information, the actual number of bits is dependent on the programmed word length. line control register bits lcr[1:0] de?ne the number of character bits, that is, either 5 bits, 6 bits, 7 bits or 8 bits. the word length selected by lcr[1:0] also determine the number of bits that will be used for the special character comparison. bit 0 in the xon-1, xon-2, xoff-1, xoff-2 registers corresponds with the lsb bit for the received character. 6.8 interrupt priority and time-out interrupts the interrupts are enabled by ier[7:0]. care must be taken when handling these interrupts. following a reset, if interrupt enable register (ier) bi t1=1,the SC16C852SV will issue a transmit holding register interrupt. this interrupt must be serviced prior to continuing operations. the isr indicates the current singular highest priority interrupt only. a condition can exist where a higher priority interrupt masks the lower priority interrupt(s) (see t ab le 12 ). only after servicing the higher pending interrupt will the lower priority interrupt(s) be re?ected in the status register. servicing the interrupt without investigating further interrupt conditions can result in data errors. receive data ready and receive time out have the same interrupt priority (when enabled by ier[0]), and it is important to serve these interrupts correctly. the receiver issues an interrupt after the number of characters have reached the programmed trigger level. in this case, the SC16C852SV fifo may hold more characters than the programmed trigger level. following the removal of a data byte, the user should re-check lsr[0] to see if there are any additional characters. a receive time out will not occur if the receive fifo is empty. the time-out counter is reset at the center of each stop bit received or each time the receive holding register (rhr) is read. the actual time-out value is 4 character time, including data information length, start bit, parity bit, and the size of stop bit, that is, 1 , 1.5 , or 2 bit times. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 12 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.9 programmable baud rate generator the SC16C852SV uart contains a programmable rational baud rate generator that takes any clock input and divides it by a divisor in the range between 1 and (2 16 - 1). the SC16C852SV offers the capability of dividing the input frequency by rational divisor. the fractional part of the divisor is controlled by the clkpres register in the first extra register set. where: n is the integer part of the divisor in dll and dlm registers; m is the fractional part of the divisor in clkpres register; f xtal1 is the clock frequency at xtal1 pin; sampr is the sampling rate in sampr register (16 , 8 , 4 ) prescaler = 1 when mcr[7] is set to 0. prescaler = 4 when mcr[7] is set to 1. remark: should always be less than 1. a single baud rate generator is provided for the transmitter and receiver. the programmable baud rate generator is capable of operating with a frequency of up to 80 mhz. to obtain maximum data rate, it is necessary to use full rail swing on the clock input. the SC16C852SV can be con?gured for internal or external clock operation. for internal clock operation, an industry standard crystal is connected externally between the xtal1 and xtal2 pins (see figure 5 ). alternatively, an external clock can be connected to the xtal1 pin (see figure 6 ) to clock the internal baud rate generator for standard or custom rates (see t ab le 6 ). the generator divides the input 16 clock by any divisor from 1 to (2 16 - 1). the SC16C852SV divides the basic external clock by 16. the baud rate is con?gured via the clkpres, dll and dlm internal register functions. customized baud rates can be achieved by selecting the proper divisor values for the msb and lsb sections of the baud rate generator. fig 4. prescalers and baud rate generator block diagram baud rate f xtal1 mcr 7 [] sampr n m sampr ------------------- - + ? ?? ------------------------------------------------------------------------------------------------ - = m sampr ------------------- - 002aac645 oscillator xtal1 xtal2 divide-by-1 divide-by-4 clkpres [3:0] baud rate generator (dll, dlm) transmitter and receiver clock mcr[7] = 0 mcr[7] = 1 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 13 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface however, the user can also select 4 , 8 sampling rates (see section 7.20 sampling rate (sampr) ) to operate at four times or two times faster than 16 sampling rate. programming the baud rate generator registers clkpres, dlm (msb) and dll (lsb) provides a user capability for selecting the desired ?nal baud rate. the example in t ab le 6 shows the selectable baud rate table available when using a 1.8432 mhz external clock input with mcr[7] is 0, sampr[1:0] = 00b and clkpres = 0x00. fig 5. crystal oscillator connection if f xtal1 frequency is greater than 50 mhz, then a dc blocking capacitor is required. xtal2 pin should be left unconnected when an external clock is used. fig 6. external clock connection table 6. baud rate generator programming table using a 1.8432 mhz clock with mcr[7] = 0, sampr[1:0] = 00b and clkpre[3:0] = 0 output baud rate (bit/s) output 16 clock divisor (decimal) output 16 clock divisor (hexadecimal) dlm program value (hexadecimal) dll program value (hexadecimal) 50 2304 900 09 00 75 1536 600 06 00 110 1047 417 04 17 150 768 300 03 00 300 384 180 01 80 600 192 c0 00 c0 1200 96 60 00 60 2400 48 30 00 30 3600 32 20 00 20 4800 24 18 00 18 7200 16 10 00 10 9600 12 0c 00 0c 002aaa870 c2 47 pf xtal1 xtal2 x1 1.8432 mhz c1 22 pf c2 33 pf xtal1 xtal2 1.5 k w x1 1.8432 mhz c1 22 pf 002aac630 xtal1 xtal2 100 pf f xtal1 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 14 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.10 loopback mode the internal loopback capability allows on-board diagnostics. in the loopback mode, the normal modem interface pins are disconnected and recon?gured for loopback internally (see figure 7 ). mcr[3:0] register bits are used for controlling loopback diagnostic testing. in the loopback mode, the transmitter output (txa/txb) and the receiver input (rxa/rxb) are disconnected from their associated interface pins, and instead are connected together internally. the ctsx, dsrx, cdx, and rix are disconnected from their normal modem control inputs pins, and instead are connected internally to r ts, dtr, mcr[3] ( op2a/ op2b) and mcr[2] ( op1a/ op1b). loopback test data is entered into the transmit holding register via the user data bus interface, d[7:0]. the transmit uart serializes the data and passes the serial data to the receive uart via the internal loopback connection. the receive uart converts the serial data back into parallel data that is then made available at the user data interface d[7:0]. the user optionally compares the received data to the initial transmitted data for verifying error-free operation of the uart tx/rx circuits. in this mode the interrupt pins are 3-stated, therefore the software must use polling method (see section 7.2.2 ) to send and receive data. 19.2 k 6 06 00 06 38.4 k 3 03 00 03 57.6 k 2 02 00 02 115.2 k 1 01 00 01 table 6. baud rate generator programming table using a 1.8432 mhz clock with mcr[7] = 0, sampr[1:0] = 00b and clkpre[3:0] = 0 continued output baud rate (bit/s) output 16 clock divisor (decimal) output 16 clock divisor (hexadecimal) dlm program value (hexadecimal) dll program value (hexadecimal) www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 15 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface fig 7. internal loopback mode diagram txa, txb rxa, rxb SC16C852SV xtal2 xtal1 ad0 to ad7 002aad604 data b u s and control logic register select logic cs interrupt control logic inta, intb clock and baud rate generator interconnect bus lines and control signals modem control logic receive shift register receive fifo register flow control logic flow control logic transmit shift register transmit fifo register ir decoder ir encoder ior iow reset lla power down control lowpwr ctsa, ctsb rtsa, rtsb dsra, dsrb dtra, dtrb ria, rib cda, cdb (op2a/op2b) mcr[4] = 1 op1a/op1b www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 16 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.11 sleep mode sleep mode is an enhanced feature of the SC16C852SV uart. it is enabled when efr[4], the enhanced functions bit, is set and when ier[4] of both channels are set. 6.11.1 conditions to enter sleep mode sleep mode is entered when: ? modem input pins are not toggling. ? the serial data input line, rxa/rxb, is idle for 4 character time (logic high) and afcr1[4] is 0. when afcr1[4] is 1, the device will go to sleep regardless of the state of the rxa/rxb pin (see section 7.22 for the description of afcr1 bit 4). ? the tx fifo and tx shift register are empty. ? there are no interrupts pending. ? the rx fifo is empty. in sleep mode, the uart clock and baud rate clock are stopped. since most registers are clocked using these clocks, the power consumption is greatly reduced. remark: writing to the divisor latches, dll and dlm, to set the baud clock, must not be done during sleep mode. therefore, it is advisable to disable sleep mode using ier[4] before writing to dll or dlm. 6.11.2 conditions to resume normal operation SC16C852SV resumes normal operation by any of the following: ? receives a start bit on rxa or rxb pin. ? data is loaded into transmit fifo. ? a change of state on any of the modem input pins. if the device is awakened by one of the conditions described above, it will return to the sleep mode automatically after all the conditions described in section 6.11.1 are met. the device will stay in sleep mode until it is disabled by setting any channels ier bit 4 to a logic 0. when the SC16C852SV is in sleep mode and the host interface bus (ad7 to ad0, io w, ior, cs) remains in steady state, either high or low, the sleep current will be in the microampere range as speci?ed in t ab le 37 static char acter istics . if any of these signals is toggling or ?oating then the sleep current will be higher. 6.12 low power feature a low power feature is provided by the SC16C852SV to prevent the switching of the host data bus from in?uencing the sleep current. when the pin lowpwr is activated (logic high), the device immediately and unconditionally goes into low power mode. all clocks are stopped and most host interface pins are isolated to reduce power consumption. the device only returns to normal mode when the lowpwr pin is de-asserted. the pin can be left unconnected because it has an internal pull-down resistor. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 17 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.13 rs-485 features 6.13.1 auto rs-485 r ts control normally the r tsx pin is controlled by mcr bit 1, or if hardware ?ow control is enabled, the logic state of the r tsx pin is controlled by the hardware ?ow control circuitry. efcr2 register bit 4 will take the precedence over the other two modes; once this bit is set, the transmitter will control the state of the r tsx pin. the transmitter automatically asserts the r tsx pin (logic 0) once the host writes data to the transmit fifo, and de-asserts the r tsx pin (logic 1) once the last bit of the data has been transmitted. to use the auto rs-485 r ts mode, the software would have to disable the hardware ?ow control function. 6.13.2 rs-485 r ts inversion efcr2 bit 5 reverses the polarity of the r tsx pin if the uart is in auto rs-485 r ts mode. when the transmitter has data to be sent, it will de-assert the r tsx pin (logic 1), and when the last bit of the data has been sent out, the transmitter asserts the r ts pin (logic 0). 6.13.3 auto 9-bit mode (rs-485) efcr2 bit 0 is used to enable the 9-bit mode (multi-drop or rs-485 mode). in this mode of operation, a master station transmits an address character followed by data characters for the addressed slave stations. the slave stations examine the received data and interrupt the controller if the received character is an address character (parity bit = 1). to use the auto 9-bit mode the software would have to disable the hardware and software ?ow control functions. 6.13.3.1 normal multi-drop mode the 9-bit mode in efcr (bit 0) is enabled, but not special character detect (efr bit 5). the receiver is set to force parity 0 (lcr[5:3] = 111) in order to detect address bytes. with the receiver initially disabled, it ignores all the data bytes (parity bit = 0) until an address byte is received (parity bit = 1). this address byte will cause the uart to set the parity error. the uart will generate a line status interrupt (ier bit 2 must be set to 1 at this time), and at the same time puts this address byte in the rx fifo. after the controller examines the byte it must make a decision whether or not to enable the receiver; it should enable the receiver if the address byte addresses its id address, and must not enable the receiver if the address byte does not address its id address. if the controller enables the receiver, the receiver will receive the subsequent data until being disabled by the controller after the controller has received a complete message from the master station. if the controller does not disable the receiver after receiving a message from the master station, the receiver will generate a parity error upon receiving another address byte. the controller then determines if the address byte addresses its id address, if it is not, the controller then can disable the receiver. if the address byte addresses the slave id address, the controller take no further action, the receiver will receive the subsequent data. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 18 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 6.13.3.2 auto address detection if special character detect is enabled (efr[5] is set and the xoff2 register contains the address byte), the receiver will try to detect an address byte that matches the programmed character in the xoff2 register. if the received byte is a data byte or an address byte that does not match the programmed character in the xoff2 register, the receiver will discard these data. upon receiving an address byte that matches the xoff2 character, the receiver will be automatically enabled if not already enabled, and the address character is pushed into the rx fifo along with the parity bit (in place of the parity error bit). the receiver also generates a line status interrupt (ier[2] must be set to logic 1 at this time). the receiver will then receive the subsequent data from the master station until being disabled by the controller after having received a message from the master station. if another address byte is received and this address byte does not match xoff2 character, the receiver will be automatically disabled and the address byte is ignored. if the address byte matches xoff2 character, the receiver will put this byte in the rx fifo along with the parity bit in the parity error bit (lsr bit 2). 7. register descriptions t ab le 7 details the assigned bit functions for the SC16C852SV internal registers. the assigned bit functions are more fully de?ned in section 7.1 through section 7.24 . www..net
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 19 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface table 7. SC16C852SV internal registers a3 a2 a1 register default [1] bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w general register set [2] 0 0 0 rhr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r 0 0 0 thr xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 w 0 0 1 ier 00 cts interrupt [3] rts interrupt [3] xoff interrupt [3] sleep mode [3] modem status interrupt receive line status interrupt transmit holding register interrupt receive holding register r/w 0 1 0 fcr 00 rcvr trigger (msb) rcvr trigger (lsb) tx trigger (msb) [3] tx trigger (lsb) [3] reserved xmit fifo reset rcvr fifo reset fifos enable w 0 1 0 isr 01 fifos enabled fifos enabled int priority bit 4 int priority bit 3 int priority bit 2 int priority bit 1 int priority bit 0 int status r 0 1 1 lcr 00 divisor latch enable set break set parity even parity parity enable stop bits word length bit 1 word length bit 0 r/w 1 0 0 mcr 00 clock select [3] irda enable reserved loopback op2a, int enable ( op1a) r ts dtr r/w 1 0 1 lsr 60 fifo data error thr and tsr empty thr empty break interrupt framing error parity error overrun error receive data ready r 1 0 1 efcr 00 reserved reserved reserved reserved reserved enable extra feature bit-1 enable extra feature bit-0 enable txlvlcnt/ rxlvlcnt w 1 1 0 msr x0 cd ri dsr cts d cd d ri d dsr d cts r 1 1 1 spr ff bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w special register set [4] 0 0 0 dll xx bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 0 0 1 dlm xx bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w second special register set [5] 0 1 1 txlvlcnt 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r 1 0 0 rxlvlcnt 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r www..net
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 20 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface [1] the value shown in represents the registers initialized hex value; x = not applicable. [2] accessible only when lcr[7] is logic 0, and efcr[2:1] are logic 0. [3] this bit is only accessible when efr[4] is set. [4] baud rate registers accessible only when lcr[7] is logic 1. [5] second special registers are accessible only when efcr[0] = 1, and efcr[2:1] are logic 0. [6] enhanced feature register, xon1/xon2 and xoff1/xoff2 are accessible only when lcr is set to 0xbf, and efcr[2:1] are logic 0. [7] first extra register set is only accessible when efcr[2:1] = 01b. [8] second extra register set is only accessible when efcr[2:1] = 10b. [9] the sampr must be programmed before the lcr register is programmed. enhanced register set [6] 0 1 0 efr 00 auto cts auto rts special character select enable ier[7:4], isr[5:4], fcr[5:4], mcr[7:5] cont-3 tx, rx control cont-2 tx, rx control cont-1 tx, rx control cont-0 tx, rx control r/w 1 0 0 xon-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 0 1 xon-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w 1 1 0 xoff-1 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 1 1 xoff-2 00 bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 r/w first extra register set [7] 0 1 0 txintlvl 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 0 0 rxintlvl 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 1 0 flwcnth 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 1 1 flwcntl 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w second extra register set [8] 0 1 0 clkpres reserved reserved reserved reserved bit 3 bit 2 bit 1 bit 0 r/w 0 1 1 sampr [9] 0x00 reserved reserved reserved reserved reserved reserved bit 1 bit 0 r/w 1 0 0 rs485time 0x00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w 1 1 0 afcr2 0x00 reserved reserved rs485 rts invert auto rs485 rts rs485 rts/dtr transmitter disable receiver disable 9-bit enable r/w 1 1 1 afcr1 0x00 concurrent write reserved reserved sleep rx low reserved rts/cts mapped to dtr/dsr software reset tsr interrupt r/w table 7. SC16C852SV internal registers continued a3 a2 a1 register default [1] bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 r/w www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 21 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.1 transmit (thr) and receive (rhr) holding registers the serial transmitter section consists of an 8-bit transmit hold register (thr) and transmit shift register (tsr). the status of the thr is provided in the line status register (lsr). writing to the thr transfers the contents of the data bus (ad7 to ad0) to the transmit fifo. the thr empty ?ag in the lsr will be set to a logic 1 when the transmit fifo is empty or when data is transferred to the tsr. the serial receive section also contains an 8-bit receive holding register (rhr) and a receive serial shift register (rsr). receive data is removed from the SC16C852SV receive fifo by reading the rhr. the receive section provides a mechanism to prevent false starts. on the falling edge of a start or false start bit, an internal receiver counter starts counting clocks at the sampling rate. after sampr 2 1 clocks, the start bit time should be shifted to the center of the start bit. at this time the start bit is sampled, and if it is still a logic 0 it is validated. evaluating the start bit in this manner prevents the receiver from assembling a false character. receiver status codes will be posted in the lsr. 7.2 interrupt enable register (ier) the interrupt enable register (ier) masks the interrupts from receiver ready, transmitter empty, line status and modem status registers. these interrupts would normally be seen on the inta, intb output pins. 1. sampr is the sampling rate of 16 , 8 or 4 . table 8. interrupt enable register bits description bit symbol description 7 ier[7] cts interrupt. logic 0 = disable the cts interrupt (normal default condition) logic 1 = enable the cts interrupt. the SC16C852SV issues an interrupt when the cts pin transitions from a logic 0 to a logic 1. 6 ier[6] rts interrupt. logic 0 = disable the rts interrupt (normal default condition) logic 1 = enable the rts interrupt. the SC16C852SV issues an interrupt when the r ts pin transitions from a logic 0 to a logic 1. 5 ier[5] xoff interrupt. logic 0 = disable the software ?ow control, receive xoff interrupt (normal default condition) logic 1 = enable the receive xoff interrupt 4 ier[4] sleep mode. logic 0 = disable sleep mode (normal default condition) logic 1 = enable sleep mode 3 ier[3] modem status interrupt. this interrupt will be issued whenever there is a modem status change as re?ected in msr[3:0]. logic 0 = disable the modem status register interrupt (normal default condition) logic 1 = enable the modem status register interrupt 2 ier[2] receive line status interrupt. this interrupt will be issued whenever a receive data error condition exists as re?ected in lsr[4:1]. logic 0 = disable the receiver line status interrupt (normal default condition) logic 1 = enable the receiver line status interrupt www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 22 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.2.1 ier versus transmit/receive fifo interrupt mode operation when the receive fifo is enabled (fcr[0] = logic 1), and receive interrupts (ier[0] = logic 1) are enabled, the receive interrupts and register status will re?ect the following: ? the receive rxrdy interrupt (level 2 isr interrupt) is issued to the external cpu when the receive fifo has reached the programmed trigger level. it will be cleared when the receive fifo drops below the programmed trigger level. ? receive fifo status will also be re?ected in the user accessible isr register when the receive fifo trigger level is reached. both the isr register receive status bit and the interrupt will be cleared when the fifo drops below the trigger level. ? the receive data ready bit (lsr[0]) is set as soon as a character is transferred from the shift register (rsr) to the receive fifo. it is reset when the fifo is empty. ? when the transmit fifo and interrupts are enabled, an interrupt is generated when the transmit fifo is empty due to the unloading of the data by the tsr and uart for transmission via the transmission media. the interrupt is cleared either by reading the isr, or by loading the thr with new data characters. 7.2.2 ier versus receive/transmit fifo polled mode operation when fcr[0] = logic 1, setting ier[3:0] = zeroes puts the SC16C852SV in the fifo polled mode of operation. in this mode, interrupts are not generated and the user must poll the lsr register for tx and/or rx data status. since the receiver and transmitter have separate bits in the lsr either or both can be used in the polled mode by selecting respective transmit or receive control bit(s). ? lsr[0] will be a logic 1 as long as there is one byte in the receive fifo. ? lsr[4:1] will provide the type of receive errors, or a receive break, if encountered. ? lsr[5] will indicate when the transmit fifo is empty. ? lsr[6] will indicate when both the transmit fifo and transmit shift register are empty. ? lsr[7] will show if any fifo data errors occurred. 1 ier[1] transmit holding register interrupt. in the non-fifo mode, this interrupt will be issued whenever the thr is empty, and is associated with lsr[5]. in the fifo modes, this interrupt will be issued whenever the fifo is empty. logic 0 = disable the transmit holding register empty (txrdy) interrupt (normal default condition) logic 1 = enable the txrdy (isr level 3) interrupt 0 ier[0] receive holding register. in the non-fifo mode, this interrupt will be issued when the rhr has data, or is cleared when the rhr is empty. in the fifo mode, this interrupt will be issued when the fifo has reached the programmed trigger level or is cleared when the fifo drops below the trigger level. logic 0 = disable the receiver ready (isr level 2, rxrdy) interrupt (normal default condition) logic 1 = enable the rxrdy (isr level 2) interrupt table 8. interrupt enable register bits description continued bit symbol description www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 23 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.3 fifo control register (fcr) this register is used to enable the fifos, clear the fifos and set the receive fifo trigger levels. 7.3.1 fifo mode [1] for 128-byte fifo mode, refer to section 7.16 , section 7.17 , section 7.18 . [2] for 128-byte fifo mode, refer to section 7.15 , section 7.17 , section 7.18 . table 9. fifo control register bits description bit symbol description 7:6 fcr[7:6] receive trigger level in 32-byte fifo mode. [1] these bits are used to set the trigger level for receive fifo interrupt and ?ow control. the SC16C852SV will issue a receive ready interrupt when the number of characters in the receive fifo reaches the selected trigger level. refer to t ab le 10 . 5:4 fcr[5:4] transmit trigger level in 32-byte fifo mode. [2] these bits are used to set the trigger level for the transmit fifo interrupt and ?ow control. the SC16C852SV will issue a transmit empty interrupt when the number of characters in fifo drops below the selected trigger level. refer to t ab le 11 . 3 fcr[3] reserved 2 fcr[2] xmit fifo reset. logic 0 = no fifo transmit reset (normal default condition) logic 1 = clears the contents of the transmit fifo and resets the fifo counter logic. this bit will return to a logic 0 after clearing the fifo. 1 fcr[1] rcvr fifo reset. logic 0 = no fifo receive reset (normal default condition) logic 1 = clears the contents of the receive fifo and resets the fifo counter logic. this bit will return to a logic 0 after clearing the fifo. 0 fcr[0] fifo enable. logic 0 = disable the transmit and receive fifo (normal default condition) logic 1 = enable the transmit and receive fifo www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 24 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface [1] when rxintlvl or txintlvl or flwcnth or flwcntl contains any value other than 0x00, receive and transmit trigger levels are set by rxintlvl, txintlvl; see section 6.4 fifo oper ation . [1] when rxintlvl or txintlvl or flwcnth or flwcntl contains any value other than 0x00, receive and transmit trigger levels are set by rxintlvl, txintlvl; see section 6.4 fifo oper ation . table 10. rcvr trigger levels fcr[7] fcr[6] rx fifo trigger level in 32-byte fifo mode [1] 0 0 8 bytes 0 1 16 bytes 1 0 24 bytes 1 1 28 bytes table 11. tx fifo trigger levels fcr[5] fcr[4] tx fifo trigger level in 32-byte fifo mode [1] 0 0 16 bytes 0 1 8 bytes 1 0 24 bytes 1 1 30 bytes www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 25 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.4 interrupt status register (isr) the SC16C852SV provides six levels of prioritized interrupts to minimize external software interaction. the interrupt status register (isr) provides the user with six interrupt status bits. performing a read cycle on the isr will provide the user with the highest pending interrupt level to be serviced. no other interrupts are acknowledged until the pending interrupt is serviced. a lower level interrupt may be seen after servicing the higher level interrupt and re-reading the interrupt status bits. t ab le 12 interr upt source shows the data values (bits 5:0) for the six prioritized interrupt levels and the interrupt sources associated with each of these interrupt levels. table 12. interrupt source priority level isr[5] isr[4] isr[3] isr[2] isr[1] isr[0] source of the interrupt 1 0 0 0 1 1 0 lsr (receiver line status register) 2 0 0 0 1 0 0 rxrdy (received data ready) 2 0 0 1 1 0 0 rxrdy (receive data time-out) 3 0 0 0 0 1 0 txrdy (transmitter holding register empty) 4 0 0 0 0 0 0 msr (modem status register) 5 0 1 0 0 0 0 rxrdy (received xoff signal)/ special character 6 1 0 0 0 0 0 cts, rts change of state table 13. interrupt status register bits description bit symbol description 7:6 isr[7:6] fifos enabled. these bits are set to a logic 0 when the fifos are not being used in the non-fifo mode. they are set to a logic 1 when the fifos are enabled in the SC16C852SV mode. logic 0 or cleared = default condition 5:4 isr[5:4] int priority bits 4:3. these bits are enabled when efr[4] is set to a logic 1. isr[4] indicates that matching xoff character(s) have been detected. isr[5] indicates that cts, rts have been generated. note that once set to a logic 1, the isr[4] bit will stay a logic 1 until xon character(s) are received. logic 0 or cleared = default condition 3:1 isr[3:1] int priority bits 2:0. these bits indicate the source for a pending interrupt at interrupt priority levels 1, 2, and 3 (see t ab le 12 ). logic 0 or cleared = default condition 0 isr[0] int status. logic 0 = an interrupt is pending and the isr contents may be used as a pointer to the appropriate interrupt service routine logic 1 = no interrupt pending (normal default condition) www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 26 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.5 line control register (lcr) the line control register is used to specify the asynchronous data communication format. the word length, the number of stop bits, and the parity are selected by writing the appropriate bits in this register. table 14. line control register bits description bit symbol description 7 lcr[7] divisor latch enable. the internal baud rate counter latch and enhanced feature mode enable. logic 0 = divisor latch disabled (normal default condition) logic 1 = divisor latch enabled 6 lcr[6] set break. when enabled, the break control bit causes a break condition to be transmitted (the tx output is forced to a logic 0 state). this condition exists until disabled by setting lcr[6] to a logic 0. logic 0 = no tx break condition (normal default condition) logic 1 = forces the transmitter output (tx) to a logic 0 for alerting the remote receiver to a line break condition 5:3 lcr[5:3] programs the parity conditions (see t ab le 15 ). 2 lcr[2] stop bits. the length of stop bit is speci?ed by this bit in conjunction with the programmed word length (see t ab le 16 ). logic 0 or cleared = default condition 1:0 lcr[1:0] word length bits 1, 0. these two bits specify the word length to be transmitted or received (see t ab le 17 ). logic 0 or cleared = default condition table 15. lcr[5:3] parity selection lcr[5] lcr[4] lcr[3] parity selection x x 0 no parity x 0 1 odd parity 0 1 1 even parity 0 0 1 forced parity 1 1 1 1 forced parity 0 table 16. lcr[2] stop bit length lcr[2] word length (bits) stop bit length (bit times) 0 5, 6, 7, 8 1 15 1 1 2 1 6, 7, 8 2 table 17. lcr[1:0] word length lcr[1] lcr[0] word length (bits) 00 5 01 6 10 7 11 8 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 27 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.6 modem control register (mcr) this register controls the interface with the modem or a peripheral device. table 18. modem control register bits description bit symbol description 7 mcr[7] clock select logic 0 = divide-by-1 clock input logic 1 = divide-by-4 clock input 6 mcr[6] ir enable (see figure 15 ). logic 0 = enable the standard modem receive and transmit input/output interface (normal default condition) logic 1 = enable infrared irda receive and transmit inputs/outputs. while in this mode, the tx/rx output/inputs are routed to the infrared encoder/decoder. the data input and output levels will conform to the irda infrared interface requirement. as such, while in this mode, the infrared tx output will be a logic 0 during idle data conditions. 5 mcr[5] reserved; set to 0. 4 mcr[4] loopback. enable the local loopback mode (diagnostics). in this mode the transmitter output ( tx) and the receiver input ( rx), cts, dsr, cd, and ri are disconnected from the SC16C852SV i/o pins. internally the modem data and control pins are connected into a loopback data con?guration (see figure 7 ). in this mode, the receiver and transmitter interrupts remain fully operational. the modem control interrupts are also operational, but the interrupts sources are switched to the lower four bits of the modem control. interrupts continue to be controlled by the ier register. logic 0 = disable loopback mode (normal default condition) logic 1 = enable local loopback mode (diagnostics) 3 mcr[3] op2a/ op2b, int enable logic 0 = forces int (a, b) outputs to the 3-state mode (normal default condition) logic 1 = forces the int (a, b) outputs to the active mode in loopback mode, this bit is used to write the state of the modem cd interface signal. 2 mcr[2] this bit is used in the loopback mode only. in the loopback mode, this bit is used to write the state of the modem ri interface signal. 1 mcr[1] r ts logic 0 = force r ts output to a logic 1 (normal default condition) logic 1 = force r ts output to a logic 0 0 mcr[0] dtr logic 0 = force dtr output to a logic 1 (normal default condition) logic 1 = force dtr output to a logic 0 table 19. interrupt output control mcr[3] int (a, b) output 0 3-state 1 active www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 28 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.7 line status register (lsr) this register provides the status of data transfers between the SC16C852SV and the cpu. table 20. line status register bits description bit symbol description 7 lsr[7] fifo data error. logic 0 = no error (normal default condition) logic 1 = at least one parity error, framing error or break indication is in the current fifo data. this bit is cleared when there are no remaining error ?ags associated with the remaining data in the fifo. 6 lsr[6] thr and tsr empty. this bit is the transmit empty indicator. this bit is set to a logic 1 whenever the transmit holding register and the transmit shift register are both empty. it is reset to logic 0 whenever either the thr or tsr contains a data character. in the fifo mode, this bit is set to logic 1 whenever the transmit fifo and transmit shift register are both empty. 5 lsr[5] thr empty. this bit is the transmit holding register empty indicator. this bit indicates that the uart is ready to accept a new character for transmission. in addition, this bit causes the uart to issue an interrupt to cpu when the thr interrupt enable is set. the thr bit is set to a logic 1 when a character is transferred from the transmit holding register into the transmitter shift register. the bit is reset to a logic 0 concurrently with the loading of the transmitter holding register by the cpu. in the fifo mode, this bit is set when the transmit fifo is empty; it is cleared when at least 1 byte is written to the transmit fifo. 4 lsr[4] break interrupt. logic 0 = no break condition (normal default condition) logic 1 = the receiver received a break signal (rx was a logic 0 for one character frame time). in the fifo mode, only one break character is loaded into the fifo. 3 lsr[3] framing error. logic 0 = no framing error (normal default condition) logic 1 = framing error. the receive character did not have a valid stop bit(s). in the fifo mode, this error is associated with the character at the top of the fifo. 2 lsr[2] parity error. logic 0 = no parity error (normal default condition logic 1 = parity error. the receive character does not have correct parity information and is suspect. in the fifo mode, this error is associated with the character at the top of the fifo. 1 lsr[1] overrun error. logic 0 = no overrun error (normal default condition) logic 1 = overrun error. a data overrun error occurred in the receive shift register. this happens when additional data arrives while the fifo is full. in this case, the previous data in the shift register is overwritten. note that under this condition, the data byte in the receive shift register is not transferred into the fifo, therefore the data in the fifo is not corrupted by the error. 0 lsr[0] receive data ready. logic 0 = no data in receive holding register or fifo (normal default condition) logic 1 = data has been received and is saved in the receive holding register or fifo www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 29 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.8 modem status register (msr) this register shares the same address as efcr register. this is a read-only register and it provides the current state of the control interface signals from the modem, or other peripheral device to which the SC16C852SV is connected. four bits of this register are used to indicate the changed information. these bits are set to a logic 1 whenever a control input from the modem changes state. these bits are set to a logic 0 whenever the cpu reads this register. when write, the data will be written to efcr register. [1] whenever any msr bit 3:0 is set to logic 1, a modem status interrupt will be generated. table 21. modem status register bits description bit symbol description 7 msr[7] cd. during normal operation, this bit is the complement of the cd input. reading this bit in the loopback mode produces the state of mcr[3] ( op2a/ op2b). 6 msr[6] ri. during normal operation, this bit is the complement of the ri input. reading this bit in the loopback mode produces the state of mcr[2] ( op1a/ op1b). 5 msr[5] dsr. during normal operation, this bit is the complement of the dsr input. during the loopback mode, this bit is equivalent to mcr[0] ( dtr). 4 msr[4] cts. during normal operation, this bit is the complement of the cts input. during the loopback mode, this bit is equivalent to mcr[1] ( r ts). 3 msr[3] d cd [1] logic 0 = no cd change (normal default condition) logic 1 = the cd input to the SC16C852SV has changed state since the last time it was read. a modem status interrupt will be generated. 2 msr[2] d ri [1] logic 0 = no ri change (normal default condition) logic 1 = the ri input to the SC16C852SV has changed from a logic 0 to a logic 1. a modem status interrupt will be generated. 1 msr[1] d dsr [1] logic 0 = no dsr change (normal default condition) logic 1 = the dsr input to the SC16C852SV has changed state since the last time it was read. a modem status interrupt will be generated. 0 msr[0] d cts [1] logic 0 = no cts change (normal default condition) logic 1 = the cts input to the SC16C852SV has changed state since the last time it was read. a modem status interrupt will be generated. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 30 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.9 extra feature control register (efcr) this is a write-only register, and it allows the software access to these registers: first extra register set, second extra register set, transmit fifo level counter (txlvlcnt), and receive fifo level counter (rxlvlcnt). remark: efcr[2:1] has higher priority than efcr[0]. txlvlcnt and rxlvlcnt can only be accessed if efcr[2:1] are zeroes. 7.10 scratchpad register (spr) the SC16C852SV provides a temporary data register to store 8 bits of user information. 7.11 division latch (dll and dlm) these are two 8-bit registers which store the 16-bit divisor for generation of the baud clock in the baud rate generator. dlm stores the most signi?cant part of the divisor. dll stores the least signi?cant part of the divisor. 7.12 transmit fifo level count (txlvlcnt) this register is a read-only register. it reports the number of spaces available in the transmit fifo. 7.13 receive fifo level count (rxlvlcnt) this register is a read-only register. it reports the ?ll level of the receive fifo (the number of characters in the rxfifo). table 22. extra feature control register bits description bit symbol description 7:3 efcr[7:3] reserved 2:1 efcr[2:1] enable extra feature control bits 00 = general register set is accessible 01 = first extra register set is accessible 10 = second extra register set is accessible 11 = reserved 0 efcr[0] enable txlvlcnt and rxlvlcnt access 0 = txlvlcnt and rxlvlcnt are disabled 1 = txlvlcnt and rxlvlcnt are enabled and can be read www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 31 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.14 enhanced feature register (efr) enhanced features are enabled or disabled using this register. bit 0 through bit 4 provide single or dual character software ?ow control selection. when the xon1 and xon2 and/or xoff1 and xoff2 modes are selected, the double 8-bit words are concatenated into two sequential numbers. [1] enhanced function control bits: ier[7:4], isr[5:4], fcr[5:4] and mcr[7:5]. table 23. enhanced feature register bits description bit symbol description 7 efr[7] automatic cts ?ow control. logic 0 = automatic cts ?ow control is disabled (normal default condition) logic 1 = enable automatic cts ?ow control. transmission will stop when cts goes to a logical 1. transmission will resume when the cts signal returns to a logical 0. 6 efr[6] automatic rts ?ow control. automatic rts may be used for hardware ?ow control by enabling efr[6]. when auto-rts is selected, an interrupt will be generated when the receive fifo is ?lled to the programmed trigger level and r ts will go to a logic 1 at the next trigger level. r ts will return to a logic 0 when data is unloaded below the next lower trigger level (programmed trigger level 1). the state of this register bit changes with the status of the hardware ?ow control. r ts functions normally when hardware ?ow control is disabled. logic 0 = automatic rts ?ow control is disabled (normal default condition) logic 1 = enable automatic rts ?ow control 5 efr[5] special character detect. logic 0 = special character detect disabled (normal default condition) logic 1 = special character detect enabled. the SC16C852SV compares each incoming receive character with xoff2 data. if a match exists, the received data will be transferred to fifo and isr[4] will be set to indicate detection of special character. bit-0 in the x-registers corresponds with the lsb bit for the receive character. when this feature is enabled, the normal software ?ow control must be disabled (efr[3:0] must be set to a logic 0). 4 efr[4] enhanced function control bit. the content of ier[7:4], isr[5:4], fcr[5:4], and mcr[7:5] can be modi?ed and latched. after modifying any bits in the enhanced registers, efr[4] can be set to a logic 0 to latch the new values. this feature prevents existing software from altering or overwriting the SC16C852SV enhanced functions. logic 0 = disable/latch enhanced features [1] logic 1 = enables the enhanced functions [1] . when this bit is set to a logic 1, all enhanced features of the SC16C852SV are enabled and user settings stored during a reset will be restored. 3:0 efr[3:0] cont-3:0 tx, rx control. logic 0 or cleared is the default condition. combinations of software ?ow control can be selected by programming these bits. see t ab le 24 . table 24. software ?ow control functions [1] cont-3 cont-2 cont-1 cont-0 tx, rx software ?ow controls 0 0 x x no transmit ?ow control 1 0 x x transmit xon1/xoff1 0 1 x x transmit xon2/xoff2 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 32 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface [1] when using a software ?ow control the xon/xoff characters cannot be used for data transfer. 7.15 transmit interrupt level register (txintlvl) this 8-bit register is used store the transmit fifo trigger levels used for interrupt generation. trigger levels from 1 to 128 can be programmed with a granularity of 1. t ab le 25 shows trigger level register bit settings. [1] for 32-byte fifo mode, refer to section 7.3 fifo control register (fcr) . 7.16 receive interrupt level register (rxintlvl) this 8-bit register is used store the receive fifo trigger levels used for interrupt generation. trigger levels from 1 to 128 can be programmed with a granularity of 1. t ab le 26 shows trigger level register bit settings. [1] for 32-byte fifo mode, refer to section 7.3 fifo control register (fcr) . 1 1 x x transmit xon1 and xon2/xoff1 and xoff2 x x 0 0 no receive ?ow control x x 1 0 receiver compares xon1/xoff1 x x 0 1 receiver compares xon2/xoff2 1011tr ansmit xon1/xoff1 receiver compares xon1 or xon2, xoff1 or xoff2 0111tr ansmit xon2/xoff2 receiver compares xon1 or xon2, xoff1 or xoff2 1111tr ansmit xon1 and xon2, xoff1 and xoff2 receiver compares xon1 and xon2, xoff1 and xoff2 table 24. software ?ow control functions [1] continued cont-3 cont-2 cont-1 cont-0 tx, rx software ?ow controls table 25. txintlvl register bits description bit symbol description 7:0 txintlvl[7:0] this register stores the programmable transmit interrupt trigger levels for 128-byte fifo mode. [1] 0x00 = trigger level is set to 1 0x01 = trigger level is set to 1 ... 0x80 = trigger level is set to 128 table 26. rxintlvl register bits description bit symbol description 7:0 rxintlvl[7:0] this register stores the programmable receive interrupt trigger levels for 128-byte fifo mode. [1] 0x00 = trigger level is set to 1 0x01 = trigger level is set to 1 ... 0x80 = trigger level is set to 128 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 33 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.17 flow control trigger level high (flwcnth) this 8-bit register is used to store the receive fifo high threshold levels to start/stop transmission during hardware/software ?ow control. t ab le 27 shows transmission control register bit settings; see section 6.5 . [1] for 32-byte fifo mode, refer to section 7.3 fifo control register (fcr) . 7.18 flow control trigger level low (flwcntl) this 8-bit register is used to store the receive fifo low threshold levels to start/stop transmission during hardware/software ?ow control. t ab le 28 shows transmission control register bit settings; see section 6.5 . [1] for 32-byte fifo mode, refer to section 7.3 fifo control register (fcr) . 7.19 clock prescaler (clkpres) this register hold values for the clock prescaler. table 27. flwcnth register bits description bit symbol description 7:0 flwcnth[7:0] this register stores the programmable high threshold level for hardware and software ?ow control for 128-byte fifo mode. [1] 0x00 = trigger level is set to 1 0x01 = trigger level is set to 1 ... 0x80 = trigger level is set to 128 table 28. flwcntl register bits description bit symbol description 7:0 flwcntl[7:0] this register stores the programmable low threshold level for hardware and software ?ow control for 128-byte fifo mode. [1] 0x00 = trigger level is set to 1 0x01 = trigger level is set to 1 ... 0x80 = trigger level is set to 128 table 29. clock prescaler register description bit symbol description 7:4 clkpres[7:4] reserved 3:0 clkpres[3:0] clock prescaler value; reset to 0 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 34 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.20 sampling rate (sampr) bit 1 and bit 0 of this register program the devices sampling rate. 7.21 rs-485 turn-around time delay (rs485time) the value in this register controls the turn-around time of the external line transceiver in bit time. in automatic 9-bit mode, the r tsa/ r tsb or dtra/ dtrb pin is used to control the direction of the line driver, after the last bit of data has been shifted out of the transmit shift register the uart will count down the value in this register. when the count value reaches zero, the uart will assert the r tsa/ r tsb or dtra/ dtrb pin (logic 0) to turn the external rs-485 transceiver around for receiving. 7.22 advanced feature control register 1 (afcr1) table 30. sampling rate bit symbol description 7:2 sampr[7:2] reserved 1:0 sampr[1:0] sampling rate 00=16 01=8 10=4 11 = reserved table 31. rs-485 programmable turn-around time register bit symbol description 7:0 rs485time[7:0] external rs-485 transceiver turn-around time delay. the value represents the bit time at the programmed baud rate. table 32. advanced feature control register 1 bits description bit symbol description 7 afcr1[7] concurrent write. when this bit is set the host can write concurrently to the same register of all channels. 0 = normal operation 1 = concurrent write operation 6:5 afcr1[6:5] reserved 4 afcr1[4] sleep rxlow. program rx input to be edge-sensitive or level-sensitive. 0 = rx input is level sensitive. if rxa/rxb pin is low, the uart will not go to sleep. once the uart is in sleep mode, it will wake up if rxa/rxb pin goes low. 1 = rx input is edge sensitive. uart will go to sleep even if rxa/rxb pin is low, and will wake up when rxa/rxb pin toggles. 3 afcr1[3] reserved 2 afcr1[2] rts/cts mapped to dtr/dsr. switch the function of rts/cts to dtr/dsr. 0 = rts and cts signals are used for hardware ?ow control 1 = dtr and dsr signals are used for hardware ?ow control. rts and cts retain their functionality. www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 35 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface [1] it takes 4 xtal1 clocks to reset the device. 7.23 advanced feature control register 2 (afcr2) 1 afcr1[1] sreset. software reset. a write to this bit will reset the uart. once the uart is reset this bit is automatically set to 0. [1] 0 afcr1[0] tsr interrupt. select tsr interrupt mode. 0 = transmit empty interrupt occurs when transmit fifo falls below the trigger level or becomes empty. 1 = transmit empty interrupt occurs when transmit fifo fall below the trigger level, or becomes empty and the last stop bit has been shift out the transmit shift register. table 32. advanced feature control register 1 bits description continued bit symbol description table 33. advanced feature control register 2 bits description bit symbol description 7:6 afcr2[7:6] reserved 5 afcr2[5] rtsinvert. invert rts or dtr signal in auto 9-bit mode. 0 = rts or dtr is set to 0 by the uart during transmission, and to 1 during reception 1 = rts or dtr is set to 1 by the uart during transmission, and to 0 during reception 4 afcr2[4] rtscon. enable the transmitter to control rts or dtr signal in auto 9-bit mode. 0 = transmitter does not control rts or dtr signal 1 = transmitter controls rts or dtr signal 3 afcr2[3] rs485 rts/dtr. select r tsa/ r tsb or dtra/ dtrb pin to control the external transceiver. 0 = r tsa/ r tsb pin is used to control the external transceiver 1 = dtra/ dtrb pin is used to control the external transceiver 2 afcr2[2] txdisable. disable transmitter. 0 = transmitter is enabled 1 = transmitter is disabled 1 afcr2[1] rxdisable. disable receiver. 0 = receiver is enabled 1 = receiver is disabled 0 afcr2[0] 9-bitmode. enable 9-bit mode or multidrop (rs-485) mode. 0 = normal rs-232 mode 1 = enable 9-bit mode www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 36 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 7.24 SC16C852SV external reset condition and software reset these two reset methods are identical and will reset the internal registers as indicated in t ab le 34 . table 34. reset state for registers register reset state ier ier[7:0] = 0 fcr fcr[7:0] = 0 isr isr[7:1] = 0; isr[0] = 1 lcr lcr[7:0] = 0 mcr mcr[7:0] = 0 lsr lsr[7] = 0; lsr[6:5] = 1; lsr[4:0] = 0 msr msr[7:4] = input signals; msr[3:0] = 0 efcr efcr[7:0] = 0 spr spr[7:0] = 1 dll unde?ned dlm unde?ned txlvlcnt txlvlcnt[7:0] = 0 rxlvlcnt rxlvlcnt[7:0] = 0 efr efr[7:0] = 0 xon1 unde?ned xon2 unde?ned xoff1 unde?ned xoff2 unde?ned txintlvl txintlvl[7:0] = 0 rxintlvl rxintlvl[7:0] = 0 flwcnth flwcnth[7:0] = 0 flwcntl flwcntl[7:0] = 0 clkpres clkpres[7:0] = 0 sampr sampr[7:0] = 0 rs485time rs485time[7:0] = 0 afcr2 afcr2[7:0] = 0 afcr1 afcr1[7:0] = 0 table 35. reset state for outputs output reset state txa, txb logic 1 r tsa, r tsb logic 1 dtra, dtrb logic 1 inta, intb 3-state condition www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 37 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 8. limiting values [1] v n should not exceed 2.5 v. 9. static characteristics [1] except xtal2, v ol = 1 v typical. [2] sleep current might be higher if there is any activity on the uart data bus during sleep mode. [3] activate by lowpwr pin. table 36. limiting values in accordance with the absolute maximum rating system (iec 60134). symbol parameter conditions min max unit v dd supply voltage - 2.5 v v n voltage on any other pin [1] v ss - 0.3 v dd + 0.3 v t amb ambient temperature operating in free air - 40 +85 c t stg storage temperature - 65 +150 c p tot /pack total power dissipation per package - 500 mw table 37. static characteristics t amb = - 40 c to +85 c; v dd = 1.65 v to 1.95 v; unless otherwise speci?ed. symbol parameter conditions min typ max unit v il(clk) clock low-level input voltage - - 0.25 v v ih(clk) clock high-level input voltage 1.35 - - v v il low-level input voltage except x1 clock - - 0.45 v v ih high-level input voltage except x1 clock 1.35 - - v v ol low-level output voltage i ol =2ma [1] - - 0.35 v v oh high-level output voltage i oh = - 800 m a 1.45 - - v i lil low-level input leakage current --1 m a i lih high-level input leakage current --1 m a i l(clk) clock leakage current low-level - - 30 m a high-level - - 30 m a i dd supply current f = 5 mhz - - 2 ma i dd(sleep) sleep mode supply current [2] --5 m a i dd(lp) low-power mode supply current [3] --5 m a c i input capacitance - - 5 pf www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 38 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 10. dynamic characteristics [1] external clock only; maximum crystal frequency is 24 mhz. [2] 10 % of the data bus fall or rise time. [3] rclk is an internal frequency and it is equal to the sampling rate times the baud rate. table 38. dynamic characteristics t amb = - 40 c to +85 c; v dd = 1.65 v to 1.95 v; unless otherwise speci?ed. symbol parameter conditions min typ max unit f xtal1 frequency on pin xtal1 [1] - - 80 mhz t d(cs-lla) delay time from cs to lla 10 - - ns t su(a-llal) set-up time from address to lla low 5 - - ns t w(lla) lla pulse width time 10 - - ns t h(llah-a) address hold time after lla high 10 - - ns t d(iow) io w delay time 10 - - ns t d(ior-dv) delay time from ior to data valid 25 pf load - - 40 ns t w(ior) ior pulse width time 28 - - ns t d(llah-iorl) delay time from lla high to ior low 10 - - ns t w(iow) io w pulse width time 10 - - ns t h(iowh-d) data input hold time after io w high 5 - - ns t d(llah-iowl) delay time from lla high to io w low 10 - - ns t su(d-iowh) set-up time from data input to io w high 5 - - ns t d(ior) ior delay time 10 - - ns t dis(ior-qz) disable time from ior to high-impedance data output [2] 25 pf load - - 20 ns t d(iow-q) delay time from io w to data output 25 pf load - - 50 ns t d(modem-int) delay time from modem to int 25 pf load - - 50 ns t d(ior-intl) delay time from ior to int low 25 pf load - - 50 ns t wh pulse width high 6 - - ns t wl pulse width low 6 - - ns t w(clk) clock pulse width 12.5 - - ns t d(stop-int) delay time from stop to int 25 pf load [3] --1t rclk s t d(start-int) delay time from start to int 25 pf load - - 1t rclk s t d(iow-tx) delay time from io w to tx [3] 8t rclk - 24t rclk s t d(iow-intl) delay time from io w to int low 25 pf load - - 50 ns t w(reset_n) pulse width on pin reset 10 - - ns www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 39 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 10.1 timing diagrams fig 8. general write timing upper address 002aac354 ad7 to ad0 cs lla iow lower address data t w(lla) t su(a-llah) t h(llah-a) t d(cs-llah) t w(iow) t d(iow) t su(d-iowh) t h(iowh-d) t d(llah-iowl) fig 9. general read timing upper address 002aac355 ad7 to ad0 cs lla ior lower address data t w(lla) t su(a-llah) t h(llah-a) t w(ior) t d(ior-dv) t d(ior) t dis(ior-qz) t d(llah-iorl) t d(cs-llah) www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 40 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface fig 10. modem input/output timing t d(iow-q) change of state t d(ior-intl) 002aac356 t d(modem-int) change of state change of state change of state active active active active active active active change of state rtsa, rtsb dtra, dtrb iow cda, cdb ctsa, ctsb dsra, dsrb inta, intb ior ria, rib t d(modem-int) t d(modem-int) fig 11. external clock timing external clock 002aac357 t w(clk) t wl t wh f xtal1 1 t wclk () -------------- - = www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 41 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface fig 12. receive timing d0 d1 d2 d3 d4 d5 d6 d7 active active sampling rate baud rate clock 002aad605 rxa, rxb inta, intb ior t d(ior-intl) t d(stop-int) 5 data bits 6 data bits 7 data bits stop bit parity bit start bit data bits (0 to 7) next data start bit fig 13. transmit timing active transmitter ready active 002aad606 t d(iow-intl) inta, intb iow active d0 d1 d2 d3 d4 d5 d6 d7 txa, txb 5 data bits 6 data bits 7 data bits stop bit parity bit start bit data bits (0 to 7) next data start bit t d(start-int) t d(iow-tx) sampling rate baud rate clock www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 42 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface fig 14. infrared transmit timing fig 15. infrared receive timing 01010011 1 0 uart frame tx data 1 / 2 bit time 002aaa212 data bits start stop bit time irda tx data 3 / 16 bit time 01010011 1 0 uart frame rx data irda rx data bit time 002aaa213 start data bits stop 0 to 1 16 clock delay www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 43 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 11. package outline fig 16. package outline sot912-1 (tfbga36) references outline version european projection issue date iec jedec jeita sot912-1 sot912-1 05-08-09 05-09-01 unit a max mm 1.15 0.25 0.15 0.90 0.75 0.35 0.25 3.6 3.4 3.6 3.4 a 1 dimensions (mm are the original dimensions) tfbga36: plastic thin fine-pitch ball grid array package; 36 balls; body 3.5 x 3.5 x 0.8 mm 0 2.5 5 mm scale a 2 b d e e 2 2.5 e 0.5 e 1 2.5 y 1 0.1 v 0.15 w 0.05 y 0.08 - - - - - - - - - b e 2 e 1 e e 1/2 e 1/2 e a c b v m c w m ball a1 index area a b c d e f 246 135 ball a1 index area b a e d c y c y 1 x detail x a 1 a 2 a www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 44 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 12. soldering of smd packages this text provides a very brief insight into a complex technology. a more in-depth account of soldering ics can be found in application note an10365 surface mount re?ow soldering description . 12.1 introduction to soldering soldering is one of the most common methods through which packages are attached to printed circuit boards (pcbs), to form electrical circuits. the soldered joint provides both the mechanical and the electrical connection. there is no single soldering method that is ideal for all ic packages. wave soldering is often preferred when through-hole and surface mount devices (smds) are mixed on one printed wiring board; however, it is not suitable for ?ne pitch smds. re?ow soldering is ideal for the small pitches and high densities that come with increased miniaturization. 12.2 wave and re?ow soldering wave soldering is a joining technology in which the joints are made by solder coming from a standing wave of liquid solder. the wave soldering process is suitable for the following: ? through-hole components ? leaded or leadless smds, which are glued to the surface of the printed circuit board not all smds can be wave soldered. packages with solder balls, and some leadless packages which have solder lands underneath the body, cannot be wave soldered. also, leaded smds with leads having a pitch smaller than ~0.6 mm cannot be wave soldered, due to an increased probability of bridging. the re?ow soldering process involves applying solder paste to a board, followed by component placement and exposure to a temperature pro?le. leaded packages, packages with solder balls, and leadless packages are all re?ow solderable. key characteristics in both wave and re?ow soldering are: ? board speci?cations, including the board ?nish, solder masks and vias ? package footprints, including solder thieves and orientation ? the moisture sensitivity level of the packages ? package placement ? inspection and repair ? lead-free soldering versus snpb soldering 12.3 wave soldering key characteristics in wave soldering are: ? process issues, such as application of adhesive and ?ux, clinching of leads, board transport, the solder wave parameters, and the time during which components are exposed to the wave ? solder bath speci?cations, including temperature and impurities www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 45 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 12.4 re?ow soldering key characteristics in re?ow soldering are: ? lead-free versus snpb soldering; note that a lead-free re?ow process usually leads to higher minimum peak temperatures (see figure 17 ) than a snpb process, thus reducing the process window ? solder paste printing issues including smearing, release, and adjusting the process window for a mix of large and small components on one board ? re?ow temperature pro?le; this pro?le includes preheat, re?ow (in which the board is heated to the peak temperature) and cooling down. it is imperative that the peak temperature is high enough for the solder to make reliable solder joints (a solder paste characteristic). in addition, the peak temperature must be low enough that the packages and/or boards are not damaged. the peak temperature of the package depends on package thickness and volume and is classi?ed in accordance with t ab le 39 and 40 moisture sensitivity precautions, as indicated on the packing, must be respected at all times. studies have shown that small packages reach higher temperatures during re?ow soldering, see figure 17 . table 39. snpb eutectic process (from j-std-020c) package thickness (mm) package re?ow temperature ( c) volume (mm 3 ) < 350 3 350 < 2.5 235 220 3 2.5 220 220 table 40. lead-free process (from j-std-020c) package thickness (mm) package re?ow temperature ( c) volume (mm 3 ) < 350 350 to 2000 > 2000 < 1.6 260 260 260 1.6 to 2.5 260 250 245 > 2.5 250 245 245 www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 46 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface for further information on temperature pro?les, refer to application note an10365 surface mount re?ow soldering description . 13. abbreviations 14. revision history msl: moisture sensitivity level fig 17. temperature pro?les for large and small components 001aac844 temperature time minimum peak temperature = minimum soldering temperature maximum peak temperature = msl limit, damage level peak temperature table 41. abbreviations acronym description cpu central processing unit dll divisor latch lsb dlm divisor latch msb fifo first in, first out irda infrared data association isdn integrated service digital network lsb least signi?cant bit msb most signi?cant bit pcb printed-circuit board rohs restriction of hazardous substances directive uart universal asynchronous receiver/transmitter vlio variable latency input/output table 42. revision history document id release date data sheet status change notice supersedes SC16C852SV_1 20080923 product data sheet - - www..net
SC16C852SV_1 ? nxp b.v. 2008. all rights reserved. product data sheet rev. 01 23 september 2008 47 of 48 nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface 15. legal information 15.1 data sheet status [1] please consult the most recently issued document before initiating or completing a design. [2] the term short data sheet is explained in section de?nitions. [3] the product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple dev ices. the latest product status information is available on the internet at url http://www .nxp .com . 15.2 de?nitions draft the document is a draft version only. the content is still under internal review and subject to formal approval, which may result in modi?cations or additions. nxp semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. short data sheet a short data sheet is an extract from a full data sheet with the same product type number(s) and title. a short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. for detailed and full information see the relevant full data sheet, which is available on request via the local nxp semiconductors sales of?ce. in case of any inconsistency or con?ict with the short data sheet, the full data sheet shall prevail. 15.3 disclaimers general information in this document is believed to be accurate and reliable. however, nxp semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. right to make changes nxp semiconductors reserves the right to make changes to information published in this document, including without limitation speci?cations and product descriptions, at any time and without notice. this document supersedes and replaces all information supplied prior to the publication hereof. suitability for use nxp semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or malfunction of an nxp semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. nxp semiconductors accepts no liability for inclusion and/or use of nxp semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customers own risk. applications applications that are described herein for any of these products are for illustrative purposes only. nxp semiconductors makes no representation or warranty that such applications will be suitable for the speci?ed use without further testing or modi?cation. limiting values stress above one or more limiting values (as de?ned in the absolute maximum ratings system of iec 60134) may cause permanent damage to the device. limiting values are stress ratings only and operation of the device at these or any other conditions above those given in the characteristics sections of this document is not implied. exposure to limiting values for extended periods may affect device reliability. terms and conditions of sale nxp semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www .nxp .com/pro? le/ter ms , including those pertaining to warranty, intellectual property rights infringement and limitation of liability, unless explicitly otherwise agreed to in writing by nxp semiconductors. in case of any inconsistency or con?ict between information in this document and such terms and conditions, the latter will prevail. no offer to sell or license nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. 15.4 trademarks notice: all referenced brands, product names, service names and trademarks are the property of their respective owners. 16. contact information for more information, please visit: http://www .nxp.com for sales of?ce addresses, please send an email to: salesad dresses@nxp.com document status [1] [2] product status [3] de?nition objective [short] data sheet development this document contains data from the objective speci?cation for product development. preliminary [short] data sheet quali?cation this document contains data from the preliminary speci?cation. product [short] data sheet production this document contains the product speci?cation. www..net
nxp semiconductors SC16C852SV dual uart with 128-byte fifos, irda, and xscale vlio bus interface ? nxp b.v. 2008. all rights reserved. for more information, please visit: http://www.nxp.com for sales office addresses, please send an email to: salesaddresses@nxp.com date of release: 23 september 2008 document identifier: SC16C852SV_1 please be aware that important notices concerning this document and the product(s) described herein, have been included in section legal information. 17. contents 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 5.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 functional description . . . . . . . . . . . . . . . . . . . 7 6.1 uart a-b functions . . . . . . . . . . . . . . . . . . . . . 7 6.2 extended mode (128-byte fifo) . . . . . . . . . . . 8 6.3 internal registers. . . . . . . . . . . . . . . . . . . . . . . . 8 6.4 fifo operation . . . . . . . . . . . . . . . . . . . . . . . . . 9 6.4.1 32-byte fifo mode. . . . . . . . . . . . . . . . . . . . . . 9 6.4.2 128-byte fifo mode. . . . . . . . . . . . . . . . . . . . . 9 6.5 hardware ?ow control . . . . . . . . . . . . . . . . . . . . 9 6.6 software ?ow control . . . . . . . . . . . . . . . . . . . 10 6.7 special character detect . . . . . . . . . . . . . . . . . 11 6.8 interrupt priority and time-out interrupts . . . . . 11 6.9 programmable baud rate generator . . . . . . . . 12 6.10 loopback mode . . . . . . . . . . . . . . . . . . . . . . . 14 6.11 sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.11.1 conditions to enter sleep mode . . . . . . . . . . . 16 6.11.2 conditions to resume normal operation . . . . . 16 6.12 low power feature . . . . . . . . . . . . . . . . . . . . . 16 6.13 rs-485 features . . . . . . . . . . . . . . . . . . . . . . . 17 6.13.1 auto rs-485 r ts control . . . . . . . . . . . . . . . . 17 6.13.2 rs-485 r ts inversion . . . . . . . . . . . . . . . . . . 17 6.13.3 auto 9-bit mode (rs-485). . . . . . . . . . . . . . . . 17 6.13.3.1 normal multi-drop mode . . . . . . . . . . . . . . . . . 17 6.13.3.2 auto address detection . . . . . . . . . . . . . . . . . . 18 7 register descriptions . . . . . . . . . . . . . . . . . . . 18 7.1 transmit (thr) and receive (rhr) holding registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.2 interrupt enable register (ier) . . . . . . . . . . . 21 7.2.1 ier versus transmit/receive fifo interrupt mode operation. . . . . . . . . . . . . . . . . . . . . . . . 22 7.2.2 ier versus receive/transmit fifo polled mode operation. . . . . . . . . . . . . . . . . . . . . . . . 22 7.3 fifo control register (fcr) . . . . . . . . . . . . . 23 7.3.1 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.4 interrupt status register (isr) . . . . . . . . . . . . 25 7.5 line control register (lcr) . . . . . . . . . . . . . . 26 7.6 modem control register (mcr) . . . . . . . . . . . 27 7.7 line status register (lsr) . . . . . . . . . . . . . . . 28 7.8 modem status register (msr). . . . . . . . . . . . 29 7.9 extra feature control register (efcr) . . . . . 30 7.10 scratchpad register (spr) . . . . . . . . . . . . . . 30 7.11 division latch (dll and dlm) . . . . . . . . . . . . 30 7.12 transmit fifo level count (txlvlcnt) . . . . 30 7.13 receive fifo level count (rxlvlcnt) . . . . 30 7.14 enhanced feature register (efr). . . . . . . . . 31 7.15 transmit interrupt level register (txintlvl) . 32 7.16 receive interrupt level register (rxintlvl) . 32 7.17 flow control trigger level high (flwcnth). 33 7.18 flow control trigger level low (flwcntl) . 33 7.19 clock prescaler (clkpres) . . . . . . . . . . . . . 33 7.20 sampling rate (sampr) . . . . . . . . . . . . . . . . 34 7.21 rs-485 turn-around time delay (rs485time) 34 7.22 advanced feature control register 1 (afcr1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.23 advanced feature control register 2 (afcr2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.24 SC16C852SV external reset condition and software reset. . . . . . . . . . . . . . . . . . . . . . . . . 36 8 limiting values . . . . . . . . . . . . . . . . . . . . . . . . 37 9 static characteristics . . . . . . . . . . . . . . . . . . . 37 10 dynamic characteristics . . . . . . . . . . . . . . . . . 38 10.1 timing diagrams. . . . . . . . . . . . . . . . . . . . . . . 39 11 package outline . . . . . . . . . . . . . . . . . . . . . . . . 43 12 soldering of smd packages . . . . . . . . . . . . . . 44 12.1 introduction to soldering. . . . . . . . . . . . . . . . . 44 12.2 wave and re?ow soldering . . . . . . . . . . . . . . . 44 12.3 wave soldering. . . . . . . . . . . . . . . . . . . . . . . . 44 12.4 re?ow soldering. . . . . . . . . . . . . . . . . . . . . . . 45 13 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 46 14 revision history . . . . . . . . . . . . . . . . . . . . . . . 46 15 legal information . . . . . . . . . . . . . . . . . . . . . . 47 15.1 data sheet status . . . . . . . . . . . . . . . . . . . . . . 47 15.2 de?nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 15.3 disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 47 15.4 trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 47 16 contact information . . . . . . . . . . . . . . . . . . . . 47 17 contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 www..net


▲Up To Search▲   

 
Price & Availability of SC16C852SV

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X